﻿<Window x:Name="_root"
	x:Class="Intuipic.Information"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Intuipic"
	SizeToContent="WidthAndHeight"
	ResizeMode="NoResize"
	ShowInTaskbar="False"
	WindowStartupLocation="CenterScreen"
	Style="{StaticResource {x:Type Window}}">
    <Grid DataContext="{Binding ElementName=_root}">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="Auto"/>
		</Grid.ColumnDefinitions>

		<Image Style="{StaticResource InformationImageStyle}" Grid.RowSpan="5" Source="/Intuipic.ico"/>

		<TextBlock Grid.Column="1" Style="{StaticResource InformationTitleStyle}">INTUIPIC</TextBlock>
		<TextBlock Grid.Column="2" Style="{StaticResource AuthorStyle}">Kent Boogaart</TextBlock>

		<Rectangle Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource InformationTitleUnderlineStyle}"/>

		<TextBlock Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource InformationBlurbStyle}">View your images simply and intuitively.</TextBlock>

		<TextBlock Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource InformationFeedbackStyle}">Send me <Hyperlink x:Name="_sendFeedbackHyperlink" Click="_sendFeedbackHyperlink_Click">feedback</Hyperlink>.</TextBlock>

		<TextBlock Grid.Row="4" Grid.Column="1" Style="{StaticResource InformationVersionStyle}" Text="{Binding Version}"/>
		<Button x:Name="_okButton" Grid.Row="4" Grid.Column="2" HorizontalAlignment="Right" IsDefault="True" Click="_okButton_Click">_OK</Button>
    </Grid>
</Window>
